package com.ueboot.weishop.service.customer;

import com.ueboot.weishop.entity.customer.CustomerFavoritesEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created by Neel on 2017/9/24.
 */
public interface CustomerFavoritesService {
    Page<CustomerFavoritesEntity> findBy(Pageable pageable);

    Page<CustomerFavoritesEntity> findBy(Pageable pageable, String keyword);

    CustomerFavoritesEntity save(CustomerFavoritesEntity s);

    CustomerFavoritesEntity get(Long id);

    void delete(Long id);

    void delete(Long[] ids);
}
